<?php 

header("Content-Type: text/html; charset=utf8");
if(isset($_POST["submit"])){
    exit("错误执行");
}//检测是否有submit操作
$userid =$_POST["userid"];
$userpass =$_POST["userpass"];
if($userid!="admin"){
    
}else {
    $url="/web_comunication/error.html";
    echo "<SCRIPT LANGUAGE=\"JavaScript\">location.href='$url'</SCRIPT>"; 
    //exit(0);
}
?>